package com.wiretrack.circuit;

import java.awt.Color;
import org.apache.log4j.Logger;

public class DebugPrintLabel implements Label
{
	private static Logger log = Logger.getLogger(DebugPrintLabel.class.getName());
	String text;
	@Override
	public void setText(String text)
	{
		this.text = text;
		log.debug("Update text UI to: " + text);
	}

	@Override
	public void setColor(Color color)
	{
		log.debug("Set color to: " + color.toString());
	}

	@Override
	public void setForeground(Color color)
	{
		log.debug("Set foreground color to: " + color.toString());
	}

	@Override
	public String getText()
	{
		return text;
	}
}
